// 模拟数据 用户信息
const userData = {
    userName: '张三',
    age: 18
}


export function userReducer (state={}, action) {
    switch (action.type) {
        case 'get_users':
            return {
                ...userData
            };
        default:
            return state;
    }
}